//
//  HOControllerDelegate.h
//  WeiDu_1_0
//
//  Created by foguo-mac-1 on 01/07/16.
//  Copyright (c) 2016 WeiDu Energy Tech. All rights reserved.
//

@protocol HOControllerDelegate <NSObject>


#pragma mark - -- for UI listener --
- (void)addListener:(NSObject<HOViewControllerDelegate> *)view;
- (void)removeListener:(NSObject<HOViewControllerDelegate> *)view;

- (void)didReceiveCommand:(NSString *)action data:(id)data;
- (void)didReceiveResponse:(HOBaseResponseEntity *)response;

- (void)clearCache;

- (void)cleanup;

- (void)logout;
- (void)didLogin;
- (void)sendRequestWithParams:(NSDictionary *)dic withModules:(NSArray *)modules;
@end
